package com.honey.generator.java;

import com.honey.compilation.java.AbstractJavaCompilation;
import com.honey.compilation.java.InnerClass;
import com.honey.core.compiler.CompilationException;



/**
 * 编译java类
 * @author Administrator
 *
 */
class CompilationInnerClass extends AbstractCompilation {
	
	public CompilationInnerClass(InnerClass innerClass) {
		super(innerClass);
	}
	
	@Override
	AbstractJavaCompilation cloneAbstractJavaCompilation( AbstractJavaCompilation abstractJavaCompilation) throws CompilationException{
		InnerClass answer = new InnerClass(abstractJavaCompilation.getType(),abstractJavaCompilation.getClassDecoration());
		super.cloneFiled(abstractJavaCompilation, answer);
		return  answer;
	}
}
